package com.hubiwei.realtime.suger.service;

import com.hubiwei.realtime.suger.bean.VisitorStats;
import com.hubiwei.realtime.suger.mapper.VisitorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitorServiceImpl implements VisitorService {
    @Autowired
    VisitorMapper visitorMapper;
    
    @Override
    public List<VisitorStats> statsByHour(int date) {
        return visitorMapper.statsByHour(date);
    }
    
}
